package cc.yugu.yhdw.common.protocol.msg05;

import cc.yugu.yhdw.common.protocol.MsgCode;
import cc.yugu.yhdw.common.protocol.msg05.Msg051;
import io.netty.buffer.ByteBuf;

public class Msg051000004 extends Msg051 {

    public String cabinetId;


    @Override
    public int getMsgCode() {
        return MsgCode.MSG_051000004.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        cabinetId = readString(buffer);
    }

    @Override
    public void writeData(ByteBuf buffer) {
        writeString(buffer, cabinetId);
    }
}
